package com.rabbitmq.ChattingRoom.controller;

import com.rabbitmq.ChattingRoom.util.common.base.Result;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "error",produces = "application/json;charts=utf-8")
public class ErrorController {
    /**
     * token错误
     */
    @PostMapping("token")
    public Result<String> err(){
        return Result.authorTimeout();
    }


}
